#!/usr/bin/env python
# encoding: utf-8

"""
@author: wuyang
@software: PyCharm
@file: urls.py
@time: 2017/12/5 16:09
@文件描述：url文件配置用户相关信息
"""
from django.conf.urls import url
from account.user.views import UserLoginView,UserLogoutView, UserListView
from account.group.views import GroupListView
from account.permission.views import  PermissionListView


urlpatterns = [
    url(r'^login/$',UserLoginView.as_view(),name="login"),
    url(r'^login_out/$',UserLogoutView.as_view(),name="login_out"),

    url(r'^user/list/$',UserListView.as_view(),name="user_list"),

    url(r'^group/list/$',GroupListView.as_view(),name="group_list"),

    url(r'^permission/list/$',PermissionListView.as_view(),name="permission_list"),

]